import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)
import { state, getters, mutations } from "./mutations"
import actions from "./actions"
import cate from './modules/cate'
import specs from './modules/specs'
import goods from './modules/goods'
import banner from './modules/banner'
import seck from './modules/seck'


export default new Vuex.Store({
    state,
    mutations,
    getters,
    actions,
    modules: {
        cate,
        specs,
        goods,
        banner,
        seck
    }
})